import Index from './pages/index.vue'
import Bar from './components/echarts/Bar.vue'
import Line from './components/echarts/Line.vue'
import Pie from './components/echarts/Pie.vue'
import Map from './components/echarts/Map.vue'

const routes = [
    { path: '/', redirect: '/index' },
    { path: '/index', name: 'index', component: Index },
    { path: '/bar', name: 'bar', component: Bar },
    { path: '/line', name: 'line', component: Line },
    { path: '/pie', name: 'pie', component: Pie },
    { path: '/map', name: 'map', component: Map }
]

export default routes